using System;
using System.ServiceModel;
using WebService.Nafania.BussinesLayer.Model.Generator;
using WebService.Nafania.ViewLayer.Model;

namespace WebService.Nafania.Interface
{
	[ServiceContract]
	public interface IGeneratorService
	{

		[OperationContract]
		BlockInfo GetBlockData(string alias, string name, long? version, Guid blockId);

		[OperationContract]
		BlockInfo SaveBlockData(string alias, string name, long? version, KeyValuePair[] pairs);

		[OperationContract]
		LineResult GetVersionObject(string alias, string name, long? version);
	}
}

/*		[OperationContract]
		LineResult GetObject(long id);*/


/*

		[OperationContract]
		void SaveObject();
*/
